package com.cmccgz.udacs_landlord_webapp.main.accreditmanager;

import com.cmccgz.baselibrary.base.BasePresenter;
import com.cmccgz.baselibrary.base.BaseView;
import com.cmccgz.udacs_landlord_webapp.bean.CardInfo;

/**
 * Created by June on 2017-10-31.
 */

public interface AddCardContract {

    public interface Presenter extends BasePresenter {
        public void getServerTime();

        public void getCardInfo(String mobile, String houseId, long serverTime);

//        public void addCard(String mobile, String houseId, String cardType, String uuid);
    }

    interface View extends BaseView<Presenter> {
        public void setServerTime(long serverTime);

        public void showCardNo(CardInfo cardInfo);
        public void showCardError(String msg);

/*        public void addCardSuccess();

        public void addCardFail(String message);*/
    }
}
